package org.southyin.securitysamples.mapper;

import org.southyin.securitysamples.model.Role;
import org.southyin.securitysamples.model.User;

import java.util.List;

public interface LoginMapper {
    User loadUserByUsername(String username);

    List<Role> getRolesByUserId(Long id);
}
